<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>禁用/解禁用户</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="example">
                            <table id="thisTable"
                                   data-height="480"
                                   data-striped="true"
                                   data-mobile-responsive="true"

                                   data-search="true"
                                   data-search-align="left"

                                   data-pagination="true"
                                   data-page-size="10"
                                   data-show-pagination-switch="true"

                                   data-show-refresh="true"
                                   data-show-toggle="true"

                                   data-sortable="true"
                                   data-sort-name="id"
                                   data-sort-order="asc"
                                   data-silent-sort="false">
                                <thead>
                                    <tr>
                                        <th data-radio="true"></th>
                                        <th data-field="id" data-sortable="true">用户账户</th>
                                        <th data-field="role" data-sortable="true">角色</th>
                                        <th data-field="realname" data-sortable="true">真实姓名</th>
                                        <th data-field="phone" data-sortable="true">联系方式</th>
                                        <th data-field="email" data-sortable="true">邮箱</th>
                                        <th data-field="active" data-sortable="true">状态</th>
                                    </tr>
                                </thead>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>

    <!-- 自定义js -->
    <script src="js/content.js?v=1.0.0"></script>

    <!-- Bootstrap table -->
    <script src="js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
    <script src="js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
    <script src="js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
    <script src="js/plugins/bootstrap-table/extensions/export/tableExport.js"></script>
    <script src="js/plugins/bootstrap-table/extensions/export/bootstrap-table-export.js"></script>

    <script>
        var dataUrl = "/js/demo/table_base.json";
        var exportFileName = "用户导出表";
    </script>

    <script>
        $("#thisTable").bootstrapTable({
            url: dataUrl,
            showExport: true,
            exportTypes: ['excel', 'csv', 'json'],
            exportOptions: {
                fileName: exportFileName
            }
        });
    </script>
</body>

</html>
